﻿using System;

namespace Sustainalytics.FileManager
{
    /// <summary>
    /// File metadata.
    /// </summary>
    public class FileMetadata
    {
        /// <summary>
        /// File name.
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// File MIME Type.
        /// </summary>
        public string MimeType { get; set; }

        /// <summary>
        /// Date when the file was created.
        /// </summary>
        public DateTime DateCreated { get; set; }


        /// <summary>
        /// Ctor.
        /// </summary>
        public FileMetadata()
        {

        }

        /// <summary>
        /// Ctor.
        /// </summary>
        /// <param name="fileName"> File name. </param>
        /// <param name="mimeType"> MIME type. </param>
        /// <param name="dateCreated"> Date created. </param>
        public FileMetadata(string fileName, string mimeType, DateTime dateCreated)
        {
            this.FileName = fileName;
            this.MimeType = mimeType;
            this.DateCreated = dateCreated;
        }
    }
}
